package com.yzly.demo.utils.enumUtil;


/**
 * 订单状态
 */
public enum OrderState {
    NEWORDER("N", "订单已生成，正在占座"),
    SEATINGSUCCESS("S", "占座成功"),
    BUYORDERFAIL("B", "购票失败"),
    ISSUING("E", "已申请出票，正在出票"),
    ISSUEFAIL("U", "申请出票失败"),
    cancelorder("C", "订单已取消"),
    ISSUED("F", "已出票"),
    REFUNDSUCCESS("T", "已全部退票"),
    ORDEROVERDUE("O", "订单已过期");


    private String code;
    private String value;

    OrderState(String code, String value) {
        this.code = code;
        this.value = value;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
